package ink.tiptop.persist.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用于用户登录的信息(ZjfAuthUserInfoEntity)实体类
 *
 * @author makejava
 * @since 2020-06-21 20:35:17
 */
@Data
@TableName(value = "zjf_auth_user_info")
@Accessors(chain = true)
public class ZjfAuthUserInfoEntity implements Serializable {
    private static final long serialVersionUID = -54660741485225984L;
    /**
     * 用户ID
     */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户名称
     */
    @TableField(value = "`name`")
    private String name;
    /**
     * 用户账号
     */
    @TableField(value = "`user`")
    private String user;
    /**
     * 用户密码
     */
    @TableField(value = "`pass`")
    private String pass;
    /**
     * 用户手机号
     */
    @TableField(value = "`phone`")
    private String phone;
    /**
     * 真实姓名
     */
    @TableField(value = "`realname`")
    private String realname;
    /**
     * 0删除1正常
     */
    @TableField(value = "`is_delete`")
    private Integer isDelete;
    /**
     * 记录创建时间
     */
    @TableField(value = "`create_time`")
    private Date createTime;
    /**
     * 记录更新时间
     */
    @TableField(value = "`update_time`")
    private Date updateTime;


}